package com.cskaoyan.chapter0502.c050205;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author:WalterChan
 * @Decription:Employee
 * @Date Created in 2024-05-19-15:31
 */
public class Employee {

    private String name;
    private BigDecimal salary;
    private Date hireDay;

    @Override
    public String toString() {
        return getClass().getName()+"Employee{" +
                "name='" + name + '\'' +
                ", salary=" + salary +
                ", hireDay=" + hireDay +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getSalary() {
        return salary;
    }

    public void setSalary(BigDecimal salary) {
        this.salary = salary;
    }

}
